<!--{include file='include/header.html'}-->

</HEAD>

<BODY class="sidebar-left">
	<div id="wrapper">
		<div id="container" class="clear-block">
			<!--{include file='include/left_and_top.html'}-->
  
  			<div id="center">
  				<div id="squeeze">
  					<div class="right-corner">
  						<div class="left-corner">
                			<table>
                				<tr>
                					<td>寻找人id</td>
                					<td>寻找主题</td>
                					<td>上传寻找人时间</td>
                					<td>是否已经发布</td>
                					<td>发布时间</td>
                					<td>操作</td>
                				</tr>
                				<!--{foreach from=$searchinfo_list item=searchinfo_info}-->
								<tr>
									<td><!--{$searchinfo_info.id}--></td>
									<td><a href='?act=search_info&search_id=<!--{$searchinfo_info.id}-->' target='_blank'><!--{$searchinfo_info.search_title}--></a></td>
									<td><!--{$searchinfo_info.upload_date}--></td>
									<td><!--{if $searchinfo_info.is_publish == 1}--><font color='green'>已发布</font><!--{else}--><font color='red'>未发布</font><!--{/if}--></td>
									<td><!--{$searchinfo_info.publish_date}--></td>
									<td>
										<a href='javascript:void(0)' onclick='publish(<!--{$searchinfo_info.id}-->)'>发布</a>&nbsp;
										<a href='?act=search_info&search_id=<!--{$searchinfo_info.id}-->' target='_blank'>查看</a>&nbsp;
										<a href='javascript:void(0)' onclick='del_search(<!--{$searchinfo_info.id}-->)'>删除</a>
									</td>
								</tr>  
								<!--{/foreach}-->
						</div>
      				</div>
      			</div>
      		</div>
      	</div> <!-- /.left-corner, /.right-corner, /#squeeze, /#center -->   
	</div> <!-- /container -->
</div><!-- /layout -->

<script>
	function del_search(del_id)
	{
		if(confirm('确认删除？'))
		{
			location.href = '?act=del_public&id='+del_id;
		}
	}	
	
	function publish(publish_id)
	{
		if(confirm('确认发布？'))
		{
			location.href = '?id='+publish_id+'&publish=1';
		}
	}	
	
</script>

</BODY>
</HTML>

